import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import axios from "./utils/axios";
import request from "./utils/fetch";
import "./assets/iconfont.css";

let app = createApp(App);

app.config.globalProperties.$axios = axios;
app.config.globalProperties.$fetch = fetch;

app.use(store).use(router).mount("#app");





// 在这使用vant
import { Popup } from 'vant';
app.use(Popup);
// import { Swipe, SwipeItem } from "vant";
// import { Icon } from "vant";
// import { NavBar } from "vant";
// import { Grid, GridItem } from "vant";
// import { Sticky } from 'vant';
// app.use(Swipe);
// app.use(SwipeItem);
// app.use(Icon);
// app.use(NavBar);
// app.use(Grid);
// app.use(GridItem);
// app.use(Sticky);